#!usr/bin/env python
# -*- coding:utf-8 _*-
"""
@author:zhengxin
@file: urls.py
@time: 2022/3/29  16:27
# @describe: 文章(article)路由
"""
from django.urls import path
from article import views


app_name = 'article'

urlpatterns = [
    # path('', views.article_list, name='list'),
    path('', views.ArticleList.as_view(), name='list'),
    path('<int:pk>/', views.ArticleDetail.as_view(), name='detail'),
]
